<?php 	$this->load->view('inc/header');?>

<div class="twidth">

      <div id="position"><a  href="/index.aspx">首页</a>&nbsp;&gt;&nbsp;<a href="/hotellist.aspx">宾馆酒店</a></div>

      <form id="form1" method="post">

        <div id="middle" class="clear">

          <div class="conL"> 

            <!--酒店查询-->

            <div class="sbox">

              <div class="titcon"><em>酒店查询</em></div>

              <div class="cont">

                <div class="simpleH">

                  <dl>

                    <dt>目的城市：</dt>

                    <dd>

                      <select id="dllCity" name="dllCity" style="width:115px;">

                        

                        <option value="0">请选择城市</option>

                        

                <?php  foreach ($city as $indx => $arr) {?>
                  	 <option value="<?php echo $indx?>"><?php echo $arr['name']?></option>
                <?php }?>

                      </select>

                    </dd>

                  </dl>

                  <dl>

                    <dt>酒店位置：</dt>

                    <dd>

                      <select id="ddlhArea" name="ddlhArea" style="width:115px;">

                        <option value="-1">所在地区</option>

                      </select>

                    </dd>

                  </dl>

                  <dl>

                    <dt>酒店价位：</dt>

                    <dd>

                      <select id="dllRMB" name="dllRMB" style="width:115px;">

                        <option value="0">不限</option>

                        
				<?php foreach ($price as $id => $arr) {?>
                  	 <option value="<?php echo  $arr['classid'] ?>"><?php echo $arr['min'].' - '.$arr['max']?></option>
                  	
                 <?php } ?>

                      </select>

                    </dd>

                  </dl>

                  <dl>

                    <dt>酒店星级：</dt>

                    <dd>

                      <select id="ddlStar" name="ddlStar" style="width:115px;">

                        <option value="0">不限</option>

                        
 <option value="0">不限</option>

                  

                  <option value="1">一星级</option>

                  

                  <option value="2">二星级</option>

                  

                  <option value="3">三星级</option>

                  

                  <option value="4">四星级</option>

                  

                  <option value="5">五星级</option>

                      </select>

                    </dd>

                  </dl>

                  <dl>

                    <dt>酒店名称：</dt>

                    <dd>

                      <input id="txthName" name="txthName" type="text" value="" />

                    </dd>

                  </dl>

                  <dl>

                    <dt>&nbsp;</dt>

                    <dd>

                      <input id="btnSearch" type="button" value="搜索" class="btn_g" />

                    </dd>

                  </dl>

                </div>

              </div>

              <div class="bot">

                <div class="in"></div>

              </div>

            </div>

            <!--/酒店查询-->

            <div class="blank10"></div>

            <div class="mbox">

              <div class="titcon"><em>宾馆酒店列表</em></div>

              <div class="cont">

                <ul class="hotelist">
                   <?php 
                  foreach ($hotel as $index => $arr)
                  {
					$pics=$this->platform->file_url($arr["folder"].'/'.$arr["name"].'.'.$arr["type"]);
					$links=site_url()."/hotel/hotel_show/".$arr["id"];			
					if(!$pics){$pics="templates/img/nopic.jpg";}				  
                  	?>                 
                  <li class="evenli">
                    <h4><a href="<?php echo site_url().'/hotel/hotel_show/'.$arr['id']?>" ><?php echo $arr['hotel_name']?></a>&nbsp;&nbsp;<!--<img src="/images/s2.png" align="absmiddle" />--></h4>
                    <p> 所在区域：<?php echo $arr['hotel_pos']?> <br>
						酒店简介
                       <?php  echo $arr['hotel_info_base'];?>
				   <div class="hotelimg"> <a href="/hotelshow.aspx?hid=23"><img src=" <?php  echo $pics;?>" width="99" height="89" alt="龙兴商务酒店"></a> 浏览 <b>75</b> 次 </div>
                    <div class="room">
                      <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tbody><tr>
                          <th>房型</th>
                          <th>门市价</th>
                          <th>折扣价</th>
                          <th>早餐</th>
                          <th>床型</th>
                          <th>宽带</th>
                          <th>空调</th>
                          <th width="80">前台现付</th>
                        </tr>
                        <?php foreach($arr['room'][$index] as $item){
                        	$roomType[0]="标准间";	
                        	$roomType[1]="单人间";
                        	$roomType[2]="双人间";
                        ?>
                        <tr onclick="ShowDisp('Room_<?php echo $index;?>')">
                          <td><a href="javascript:void(0)" title="$roomType[$item["room_type"]]"><?php echo $roomType[$item["room_type"]];?></a></td>
                          <td>RMB <?php echo $item["room_price"];?></td>
                          <td><b>RMB <?php echo $item["room_discount"];?></b></td>
                          <td><?php if($item["room_breakfast"]){echo "是";}else{echo "否";};?></td>
                          <td><?php echo $item["room_bed"];?></td>
                          <td><?php if($item["room_net"]){echo "免费";}else{echo "无";};?></td>
                          <td><?php if($item["room_air"]){echo "有";}else{echo "无";};?></td>
                          <td><a target="_blank" href="/roomOrder.aspx?rid=43" class="btn">预订</a></td>
                        </tr>
                      <!--   <tr style="display:none" id="Room_<?php echo $index;?>">
                          <td colspan="8"><img src="/upload/HoteleRoomsSmallImg/2012-8/img21922140.jpg"></td>
                        </tr> -->
                        <?php }?>
                      </tbody></table>
                    </div>
                  </li>
                <?php }?>  
                  
                  
                </ul>

     <div class="page"><div id="pager2" class="page"><?php echo $this->pagination->create_links(); ?></div></div>

              </div>

              <div class="bot">

                <div class="in"></div>

              </div>

            </div>

          </div>

          <div class="conR">

            <div class="lbox">

              <div class="titcon"><em>热门酒店</em></div>    <div class="cont">

      <ul class="nl">

                  <li><a href="/hotelshow.aspx?hid=19" title="李艳芳农家旅馆">李艳芳农家旅馆</a></li><li><a href="/hotelshow.aspx?hid=20" title="刘品静家庭旅馆">刘品静家庭旅馆</a></li><li><a href="/hotelshow.aspx?hid=16" title="跃君旅馆">跃君旅馆</a></li><li><a href="/hotelshow.aspx?hid=18" title="爱君家庭旅馆">爱君家庭旅馆</a></li><li><a href="/hotelshow.aspx?hid=17" title="朱春霞旅馆">朱春霞旅馆</a></li><li><a href="/hotelshow.aspx?hid=15" title="若水居家庭旅馆">若水居家庭旅馆</a></li>

                </ul>

              </div>

              <div class="bot">

                <div class="in"></div>

              </div>

            </div>

          </div>

        </div>

      </form>

      

      <dl id="footguide">

<dt>旅游网站</dt>

<dd><li>价格实惠<br />支付方便</li>

<li>强强联手<br />优质服务</li>

<li>全球品牌<br />安全保证</li>

<li>全天客服<br />实时在线</li>

<li>流程简单<br />操作方便</li></dd>

</dl>

</div>

<div id="footer">

  <div class="footnav"><a href="/intro.aspx?ID=7" target="_blank">市场合作</a> | <a href="/intro.aspx?ID=6" target="_blank">广告投放</a> | <a href="/intro.aspx?ID=5" target="_blank">服务条款</a> | <a href="/admin/login.aspx" target="_blank">管理入口</a> | <a href="#" target="_blank">在线客服</a> | <a href="/intro.aspx?ID=1" target="_blank">联系我们</a> </div>

  <div class="copy"><p>

	版权所有&nbsp;全国客服热线：400 000 0000 客服QQ:123456 100000<br />

	<span style="color: #f00">底部信息可以在后台系统设置中进行修改</span><br />

	Copyright &copy; XXXX公司 &nbsp; ICP备000000号</p></div>

</div>

<div id="bodybg"></div>

<!--[if IE 6]>

<script src="/js/DD_belatedPNG.js"></script>

<script>

  DD_belatedPNG.fix('img,.png');

</script>

<![endif]-->





</body>

</html>

